package cn.nlsde.service;

import java.util.List;

/**
 * Created by zwj on 2016/10/6.
 */
public interface BaseService<T> {

    int save(T obj);

    int delete(T obj);

    int update(T obj);

    T selectById(Integer id);

    List<T> selectAll();

    int deleteById(Integer id);
}
